package com.xuxin.nantai.contract;

import com.xuxin.nantai.bean.BaseBean;
import com.xuxin.nantai.bean.HangBean;
import com.xuxin.nantai.presenter.HangPresenter;

/**
 * Created by xu_xin
 * Created on 2020.06.18 0018
 */
public interface HangContract {

    interface Model {

        void getHang(HangPresenter presenter, String LoginName, String ProductInfo, String InspectorInfo, int PageIndex);

        void delete(HangPresenter presenter, String UserName, String Guid);
    }

    interface View extends BaseContract.view {

        void onSuccess(HangBean hangBean);

        void onSuccess(BaseBean baseBean);
    }

    interface Presenter extends BaseContract.presenter {

        void getHang(String LoginName, String ProductInfo, String InspectorInfo, int PageIndex);

        void delete(String UserName, String Guid);

        void onSuccess(HangBean hangBean);

        void onSuccess(BaseBean baseBean);
    }
}